#ifndef LOGINWIDGET_H
#define LOGINWIDGET_H

#include <QWidget>
#include"mainwindow.h"
QT_BEGIN_NAMESPACE
class QLineEdit;
QT_END_NAMESPACE

class MainWindow;

class LoginWidget : public QWidget
{
  Q_OBJECT

public:
  explicit LoginWidget(QWidget *parent = nullptr);
  ~LoginWidget();

   void create();

   bool ReadUuid();

signals:

private slots:

  void login_clicked();


private:
  QImage loginImage;

  MainWindow *mainWindow = nullptr;
  QLineEdit *lineEdit_username = nullptr;
  QLineEdit *lineEdit_password = nullptr;
  QString username;
  QString password;

};

#endif // LOGINWIDGET_H
